Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi Buddy,
following our email exchange of the 25/04, i added the possibility to define an Alias for the debuggit() function.
Tests are in t/alias.t, and i added tests in t/fallthrough.t and t/override.t too.
The feature is documented, both in Debuggit.pm and Debuggit::Manual (i didn't manage to read them in their final format, as i don't know how they're created by Metacpan).
If you're happy with that you can use it. If not, tell me why. I won't be offended, whatever the reason. I'm mostly doing this to learn: it's my first pull request with code in it :-)
If you like it, i might try and implement the other feature we spoke about: a DEBUGGIT_DEBUG environment variable, and the documentation that gives ideas on how to use it.
Good day to you :-)
Pierre Masci (mascip)
Edit: I'm happier with the latest commit. Much more maintainable i think: it's all in one small place. As you can see i'm learning as i'm going along ;-) Tell me if that's good enough.